namespace HeroldIT.Dnn.Modules.News.Views
{
    public abstract class ContainerBase : SkinnablePortalModuleBase, INewsSatelliteModuleSettingsProvider
    {
        #region properties

        /// <summary>
        /// Holds the module's controller instance.
        /// </summary>
        private NewsController controller;

        /// <summary>
        /// Gets the module's controller instance.
        /// </summary>
        internal NewsController Controller
        {
            get
            {
                if (null == this.controller)
                {
                    this.controller = new NewsController(this);
                }
                return this.controller;
            }
        }

        #endregion
    }
}
